FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\CrowdSec\CrowdSecApi A

Total Complexity 66
Dependencies 18
Dependents 1
Total lines 352
Lines of code 278
Logical lines of code 144
Comment lines 18
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
login()
A
42 11 60
getAuthStatus()
A
47 11 37
machineLogin()
A
49 8 31
machineEnroll()
S
49 6 32
authStart()
S
50 6 27
getScenarios()
S
60 5 13
generateCrowdsecPassword()
S
58 4 14
machineRegister()
S
56 3 19
storeCsAuth()
S
58 3 15
getCsAuths()
S
74 2 4
getApiUserAgent()
S
74 2 4
isReady()
S
68 1 8
clearEnrollment()
S
73 1 5
getAuthorizationToken()
S
79 1 3
getMachineID()
S
79 1 3
getCsAuth()
S
79 1 3